﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ToolbarContainer.ascx.cs"
    Inherits="Golf.WebUI.UserControl.ToolbarContainer" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="/Style/Base.css" rel="stylesheet" type="text/css" />
    <link href="/Style/toolbarContainer.css" rel="stylesheet" type="text/css" />

    <script src="/Script/common/cookie.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function() {
            if ($.cookie("ftbState") == "closed") {
                $(".toolbarContainer ul.tbSlide").hide();
                $(".toolbar .tbToggle").addClass("closed")
            }
            $(".toolbarContainer").show();
            $(".toolbar a.expBtn").click(function() {
                var self = $(this).parent().find(".expWrap");
                $(".toolbar .expWrap").not(self).slideUp();
                $(this).parent().find(".expWrap").stop(true, true).slideToggle();
                if ($(this).hasClass("facebook")) {
                    var $fb = $('<iframe src="http://www.facebook.com/plugins/likebox.php?id=18727097221&amp;width=402&amp;connections=7&amp;stream=true&amp;header=false&amp;height=480" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:402px; height:480px;" allowTransparency="true"></iframe>');
                    $(this).parent().find(".inner .content").html($fb)
                }
                return false
            });
            $(".toolbar .tbToggle").click(function() {
                $(".toolbar ul").animate({
                    width: "toggle"
                });
                $(this).toggleClass("closed");
                if ($(this).hasClass("closed")) {
                    $.cookie("ftbState", "closed")
                } else {
                    $.cookie("ftbState", null)
                }
                return false
            });
            $(".toolbar .expWrap .close").click(function() {
                $(this).parents(".expWrap").slideToggle();
                return false
            });
        });
    </script>

    <!--[if lte IE 6]>
    <script src="/Script/floater.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            $("#LeftAd").attr("style", "position: absolute;width:1004px;");
            $(".toolbarContainer").css("position","absolute");
        });
    </script>
	<![endif]-->
    <![if !IE 6]>

    <script type="text/javascript">
        $(function() {
            $(".toolbarContainer").css("position", "fixed");
        });
    </script>

    <![endif]>
</head>
<body style="margin: 0px auto; width: 1014px;">
    <div class="toolbarContainer" id="LeftAd" style="position: absolute;">
        <div class="toolbar">
            <span class="tbGrad"></span>
            <ul class="tbSlide">
                <li><a class="tb_btn home" title="Home" href="http://<%=http_Host %>"></a></li>
                <li><a class="tb_btn login" title="Login To Your Account" href="/Customers/Account.aspx">
                </a></li>
                <li class="apiClearance"><a class="tb_btn expBtn clearance" title="Clearance Items"
                    href=""></a>
                    <div class="expWrap">
                        <div class="header">
                            <div class="cl">
                            </div>
                            <div class="content">
                                <span class="logo"></span><a class="close" title="Close Popup" href="#"></a>
                            </div>
                            <div class="cr">
                            </div>
                        </div>
                        <div class="inner">
                            <div class="bl">
                            </div>
                            <div class="content">
                                <ul class="cat">
                                    <li><a title="Clearance Golf Clubs" href="http://<%=http_Host %>/Clearance-Golf-Clubs/c1276.aspx">
                                        Golf Clubs</a>
                                        <ul>
                                            <asp:Repeater ID="rep_Type" runat="server">
                                                <ItemTemplate>
                                                    <li><a title=" <%#Eval("TypeName") %>" href="http://<%=http_Host %>/Golfshow.aspx?typeid=<%#Eval("ID") %>">
                                                        <%#Eval("TypeName") %></a></li>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                            <div class="br">
                            </div>
                        </div>
                    </div>
                </li>
                <li class="right"></li>
                <li class="right apiFacebook"><a class="tb_btn expBtn facebook" title="OnlineGolf on Facebook"
                    href="#"></a>
                    <div class="expWrap">
                        <div class="header">
                            <div class="cl">
                            </div>
                            <div class="content">
                                <span class="logo"></span><a class="close" title="Close Popup" href="#"></a>
                            </div>
                            <div class="cr">
                            </div>
                        </div>
                        <div class="inner">
                            <div class="bl">
                            </div>
                            <div class="content">
                            </div>
                            <div class="br">
                            </div>
                        </div>
                    </div>
                </li>
                <li class="right apiTwitter"><a class="tb_btn expBtn twitter" title="OnlineGolf on Twitter"
                    href="#"></a>
                    <div class="expWrap">
                        <div class="header">
                            <div class="cl">
                            </div>
                            <div class="content">
                                <span class="logo"></span><a class="close" title="Close Popup" href="#"></a>
                            </div>
                            <div class="cr">
                            </div>
                        </div>
                        <div class="inner">
                            <div class="bl">
                            </div>
                            <div class="content">
                                <div class="acc">
                                    <a href="http://twitter.com/Online_Top_Golf">
                                        <img id="profile-image" border="0" alt="" src="/images/logo.png" width="73" height="26"
                                            valign="middle"></a> <a class="twitLink" href="http://twitter.com/Online_Top_Golf">Online
                                                Top Golf</a>
                                </div>
                                <div class="tweetWrapper">
                                </div>
                            </div>
                            <div class="br">
                            </div>
                        </div>
                    </div>
                </li>
                <li class="right apiShare"><a class="tb_btn expBtn share" title="Bookmark Us" href="#">
                </a>
                    <div class="expWrap">
                        <div class="header">
                            <div class="cl">
                            </div>
                            <div class="content">
                                <span class="logo"></span><a class="close" title="Close Popup" href="#"></a>
                            </div>
                            <div class="cr">
                            </div>
                        </div>
                        <div class="inner">
                            <div class="bl">
                            </div>
                            <div class="content" style="overflow: hidden;">
                                <ul class="social">
                                    <li><a class="shareEmail" onclick="JavaScript:showLightBox('.lbEmailFriend'); $(this).parents('.expWrap').hide(); return false;"
                                        href="#">Email</a></li>
                                    <li><a class="sharePrint" href="JavaScript:window.print();">Print</a></li>
                                    <li><a class="shareTwitter" href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://<%=http_Host %>/"
                                        target="_blank">Twitter</a></li>
                                    <li><a class="shareFacebook" href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.cnblogs.com/DuFeng/"
                                        target="_blank">Facebook</a></li>
                                    <li><a class="shareDelicious" href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://<%=http_Host %>/"
                                        target="_blank">Delicious</a></li>
                                    <li><a class="shareStumbleupon" href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://<%=http_Host %>/"
                                        target="_blank">Stumble</a></li>
                                    <li><a class="shareDigg" href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://<%=http_Host %>/"
                                        target="_blank">Digg</a></li>
                                    <li><a class="shareGoogleBuzz" href="http://api.addthis.com/oexchange/0.8/forward/googlebuzz/offer?url=http://<%=http_Host %>/"
                                        target="_blank">Google Buzz</a></li>
                                    <li><a class="shareMySpace" href="http://api.addthis.com/oexchange/0.8/forward/myspace/offer?url=http://<%=http_Host %>/"
                                        target="_blank">MySpace</a></li>
                                    <li><a class="shareFriendFeed" href="http://api.addthis.com/oexchange/0.8/forward/friendfeed/offer?url=http://<%=http_Host %>/"
                                        target="_blank">Friend Feed</a></li>
                                    <li><a target="_blank" href="http://api.addthis.com/oexchange/0.8/forward/google_plusone/offer?url=http://<%=http_Host %>/"
                                        class="googlePlusOne">Google +1</a></li></ul>
                            </div>
                            <div class="br">
                            </div>
                        </div>
                    </div>
                </li>
            </ul>
            <span class="tbToggle"></span>
        </div>
    </div>
</body>
</html>
